﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/design.Master" CodeBehind="blogselect.aspx.vb" Inherits="CakeThatIBaked.blogselect" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="theheader">
        The Blogs
    </div>
    <div class="thecontainer">
        <div class="thecontainerleft">
            
            <asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1">
            <ItemTemplate>
            <%#getLink(Eval("UserName"),Eval("Author")) %>
            <br />
            </ItemTemplate>
            </asp:Repeater>
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                ConnectionString="<%$ ConnectionStrings:CakeConnection %>" 
                ProviderName="<%$ ConnectionStrings:CakeConnection.ProviderName %>" 
                SelectCommand="SELECT DISTINCT [Author], [UserName] FROM [BlogUsers]">
            </asp:SqlDataSource>
            
        </div>
        <div class="thecontainerright">
        Gold members have Blogs select a user to read their Blog to the left.
        <br />
        If you are gold use AddBlog Post in the Navagation
        </div>
    </div>

</asp:Content>
